/**
 * roles 不存在 说明不做权限校验
 * roles 存在   包含该角色权限，才能显示该菜单栏
 */
export const menus = [
  {
    title: "业主管理",
    icon: "notification",
    key: "/owner/index"
  },
  {
    title: "工单汇览",
    icon: "message",
    key: "/order/index"
  },
  {
    title: "车位管理",
    icon: "carry-out",
    key: "/stall/index"
  },
  {
    title: "投票管理",
    icon: "carry-out",
    roles: [process.env.VUE_APP_SUPER, process.env.VUE_APP_JD],
    key: "/vote/index"
  },
  {
    title: "小区管理",
    icon: "carry-out",
    key: "/community/index"
  },
  {
    title: "管理员账号管理",
    icon: "team",
    roles: [process.env.VUE_APP_SUPER],
    key: "/account/index"
  },
  {
    title: "访问日志",
    icon: "file-search",
    roles: [process.env.VUE_APP_SUPER],
    key: "/log/index"
  }
];
